CommonEvent 1550
Name = "Talk: Heaven's Gate"

  999([1344])
  ConditionalBranch([1, 20, 0, 1, 0])
    JumpToLabel(["情報"])
    Empty([])

  BranchEnd([])
  ConditionalBranch([1, 20, 0, 2, 0])
    JumpToLabel(["質問"])
    Empty([])

  BranchEnd([])
  ConditionalBranch([1, 20, 0, 3, 0])
    JumpToLabel(["要求"])
    Empty([])

  BranchEnd([])
  ConditionalBranch([1, 20, 0, 4, 0])
    JumpToLabel(["贈与"])
    Empty([])

  BranchEnd([])
  Label(["情報"])
  ControlVariables([13, 13, 0, 2, 1, 100])
  ConditionalBranch([1, 13, 0, 10, 2])
    ShowTextAttributes(["heavensgate_fc1", 0, 0, 2])
    ShowText(["\\n<Heaven's Gate>I am the gate...\nThe gatekeeper of the Angelic Dominion, the door of dimensions."])
    ShowText([""])
    ShowText([""])
    ExitEventProcessing([])
    Empty([])

  BranchEnd([])
  ConditionalBranch([1, 13, 0, 20, 2])
    ShowTextAttributes(["heavensgate_fc1", 0, 0, 2])
    ShowText(["\\n<Heaven's Gate>Now, you must challenge me... if you want to enter the Angelic Dominion!"])
    ShowText([""])
    ShowText([""])
    ExitEventProcessing([])
    Empty([])

  BranchEnd([])
  ConditionalBranch([1, 13, 0, 30, 2])
    ShowTextAttributes(["heavensgate_fc1", 0, 0, 2])
    ShowText(["\\n<Heaven's Gate>The Angelic Dominion is beyond this way... I will never let you through!"])
    ShowText([""])
    ExitEventProcessing([])
    Empty([])

  BranchEnd([])
  ConditionalBranch([1, 13, 0, 40, 2])
    ShowTextAttributes(["heavensgate_fc1", 0, 0, 2])
    ShowText(["\\n<Heaven's Gate>Even if you yield before me, there is nothing for you to fear. I will invite you to a world of pleasure..."])
    ShowText([""])
    ShowText([""])
    ExitEventProcessing([])
    Empty([])

  BranchEnd([])
  ConditionalBranch([1, 13, 0, 50, 2])
    ShowTextAttributes(["heavensgate_fc1", 0, 0, 2])
    ShowText(["\\n<Heaven's Gate>Being a gate is a rather dull job...\nIf you want to talk, keep me company."])
    ShowText([""])
    ShowText([""])
    ExitEventProcessing([])
    Empty([])

  BranchEnd([])
  ConditionalBranch([1, 13, 0, 60, 2])
    ShowTextAttributes(["heavensgate_fc1", 0, 0, 2])
    ShowText(["\\n<Heaven's Gate>It won't be bad to bury yourself in this gate and enjoy all the pleasure you can..."])
    ShowText([""])
    ExitEventProcessing([])
    Empty([])

  BranchEnd([])
  ConditionalBranch([1, 13, 0, 70, 2])
    ShowTextAttributes(["heavensgate_fc1", 0, 0, 2])
    ShowText(["\\n<Heaven's Gate>The power of the Angelic Dominion's gate...\nI'll give you a good taste of it!"])
    ShowText([""])
    ShowText([""])
    ExitEventProcessing([])
    Empty([])

  BranchEnd([])
  ConditionalBranch([1, 13, 0, 80, 2])
    ShowTextAttributes(["heavensgate_fc1", 2, 0, 2])
    ShowText(["\\n<Heaven's Gate>You think I look like a monster...?\nDon't mock me, you insolent fool!"])
    ShowText([""])
    ShowText([""])
    ExitEventProcessing([])
    Empty([])

  BranchEnd([])
  ConditionalBranch([1, 13, 0, 90, 2])
    ShowTextAttributes(["heavensgate_fc1", 2, 0, 2])
    ShowText(["\\n<Heaven's Gate>My tentacles and breasts sometimes get caught when I close the gate... It's rather painful when that happens."])
    ShowText([""])
    ShowText([""])
    ExitEventProcessing([])
    Empty([])

  BranchEnd([])
  ConditionalBranch([1, 13, 0, 100, 2])
    ShowTextAttributes(["heavensgate_fc1", 0, 0, 2])
    ShowText(["\\n<Heaven's Gate>Those who should pass through here will be allowed through... You haven't received permission to pass."])
    ShowText([""])
    ShowText([""])
    ExitEventProcessing([])
    Empty([])

  BranchEnd([])
  Label(["質問"])
  ControlVariables([13, 13, 0, 2, 1, 50])
  ConditionalBranch([1, 13, 0, 10, 2])
    ShowTextAttributes(["heavensgate_fc1", 0, 0, 2])
    ShowText(["\\n<Heaven's Gate>Now for a psychological test.\nWhen you come across a door that won't open, what do you do...?"])
    ShowText([""])
    ShowText([""])
    ShowChoices([["Keep trying to open it", "Search for another door", "Kick it open"], 0])
    When([0, "諦めず開けようとする"])
      ShowTextAttributes(["heavensgate_fc1", 0, 0, 2])
      ShowText(["\\n<Heaven's Gate>Being stubborn can be good, but that would mean you're inflexible..."])
      ShowText([""])
      Empty([])

    When([1, "他の扉を探す"])
      ShowTextAttributes(["heavensgate_fc1", 0, 0, 2])
      ShowText(["\\n<Heaven's Gate>Oh... I see you're a prudent one."])
      ShowText([""])
      Script(["change_friend(5)"])
      Empty([])

    When([2, "蹴り破る"])
      ShowTextAttributes(["heavensgate_fc1", 2, 0, 2])
      ShowText(["\\n<Heaven's Gate>Why would you treat a door so violently?!"])
      ShowText([""])
      Script(["change_friend(-5)"])
      Empty([])

    ChoicesEnd([])
    ExitEventProcessing([])
    Empty([])

  BranchEnd([])
  ConditionalBranch([1, 13, 0, 20, 2])
    ShowTextAttributes(["heavensgate_fc1", 0, 0, 2])
    ShowText(["\\n<Heaven's Gate>What will you offer in exchange for passing through this gate...?"])
    ShowText([""])
    ShowChoices([["Life", "Money", "Semen", "I'm not offering anything"], 0])
    When([0, "命"])
      ShowTextAttributes(["heavensgate_fc1", 0, 0, 2])
      ShowText(["\\n<Heaven's Gate>How foolish... You wouldn't be able to do what you've come here for if you offered me your life."])
      ShowText([""])
      Empty([])

    When([1, "金"])
      ShowTextAttributes(["heavensgate_fc1", 2, 0, 2])
      ShowText(["\\n<Heaven's Gate>Trying to bribe me... How insulting!"])
      ShowText([""])
      Script(["change_friend(-5)"])
      Empty([])

    When([2, "精液"])
      ShowTextAttributes(["heavensgate_fc1", 1, 0, 2])
      ShowText(["\\n<Heaven's Gate>That... wouldn't be a bad deal."])
      ShowText([""])
      Script(["change_friend(5)"])
      Empty([])

    When([3, "何も捧げない"])
      ShowTextAttributes(["heavensgate_fc1", 0, 0, 2])
      ShowText(["\\n<Heaven's Gate>You intend to force your way through...?\nYour spirit is magnificent!"])
      ShowText([""])
      ShowText([""])
      Script(["change_friend(10)"])
      Empty([])

    ChoicesEnd([])
    ExitEventProcessing([])
    Empty([])

  BranchEnd([])
  ConditionalBranch([1, 13, 0, 30, 2])
    ShowTextAttributes(["heavensgate_fc1", 0, 0, 2])
    ShowText(["\\n<Heaven's Gate>The key to opening my gate...\nDo you know what it is?"])
    ShowText([""])
    ShowText([""])
    ShowChoices([["Courage", "Liveliness", "Perseverance"], 0])
    When([0, "勇気"])
      ShowTextAttributes(["heavensgate_fc1", 0, 0, 2])
      ShowText(["\\n<Heaven's Gate>Yes... Courage is what carves the way forward.\nYou understand this well..."])
      ShowText([""])
      ShowText([""])
      Script(["change_friend(5)"])
      Empty([])

    When([1, "元気"])
      ShowTextAttributes(["heavensgate_fc1", 2, 0, 2])
      ShowText(["\\n<Heaven's Gate>Simply being full of spirit will not be enough..."])
      ShowText([""])
      Empty([])

    When([2, "根気"])
      ShowTextAttributes(["heavensgate_fc1", 2, 0, 2])
      ShowText(["\\n<Heaven's Gate>Perseverance alone will not be enough to carve the way forward..."])
      ShowText([""])
      Empty([])

    ChoicesEnd([])
    ExitEventProcessing([])
    Empty([])

  BranchEnd([])
  ConditionalBranch([1, 13, 0, 40, 2])
    ShowTextAttributes(["heavensgate_fc1", 0, 0, 2])
    ShowText(["\\n<Heaven's Gate>I've been suddenly wondering...\nHave you remembered to lock the door to your house?"])
    ShowText([""])
    ShowText([""])
    ShowChoices([["I locked it", "I didn't lock it", "I don't have a house"], 0])
    When([0, "掛けた"])
      ShowTextAttributes(["heavensgate_fc1", 0, 0, 2])
      ShowText(["\\n<Heaven's Gate>That's good..."])
      ShowText([""])
      Script(["change_friend(5)"])
      Empty([])

    When([1, "掛けてない"])
      ShowTextAttributes(["heavensgate_fc1", 2, 0, 2])
      ShowText(["\\n<Heaven's Gate>That's terrible... You should go back immediately."])
      ShowText([""])
      Empty([])

    When([2, "家はない"])
      ShowTextAttributes(["heavensgate_fc1", 2, 0, 2])
      ShowText(["\\n<Heaven's Gate>I see... I pity you..."])
      ShowText([""])
      Script(["change_friend(10)"])
      Empty([])

    ChoicesEnd([])
    ExitEventProcessing([])
    Empty([])

  BranchEnd([])
  ConditionalBranch([1, 13, 0, 50, 2])
    ShowTextAttributes(["heavensgate_fc1", 0, 0, 2])
    ShowText(["\\n<Heaven's Gate>I want to give a send-off to the good people passing through this gate into heaven... What would do you think would be good?"])
    ShowText([""])
    ShowText([""])
    ShowChoices([["The Goddess is with you", "Take care of yourself", "Abandon all hope"], 0])
    When([0, "神と共にあれ"])
      ShowTextAttributes(["heavensgate_fc1", 0, 0, 2])
      ShowText(["\\n<Heaven's Gate>...Yes, I shall tell them that."])
      ShowText([""])
      Script(["change_friend(5)"])
      Empty([])

    When([1, "体に気をつけてね"])
      ShowTextAttributes(["heavensgate_fc1", 2, 0, 2])
      ShowText(["\\n<Heaven's Gate>No, they are already dead..."])
      ShowText([""])
      Empty([])

    When([2, "一切の希望を捨てよ"])
      ShowTextAttributes(["heavensgate_fc1", 2, 0, 2])
      ShowText(["\\n<Heaven's Gate>I am not the gate to hell! How insolent!!"])
      ShowText([""])
      Script(["change_friend(-5)"])
      Empty([])

    ChoicesEnd([])
    ExitEventProcessing([])
    Empty([])

  BranchEnd([])
  Label(["要求"])
  ControlVariables([13, 13, 0, 2, 1, 30])
  ConditionalBranch([1, 13, 0, 10, 2])
    ConditionalBranch([8, 14])
      ShowTextAttributes(["heavensgate_fc1", 2, 0, 2])
      ShowText(["\\n<Heaven's Gate>When I'm guarding the gate all the time, I occasionally doze off... Isn't there something that can prevent that?"])
      ShowText([""])
      ShowText([""])
      ControlVariables([24, 24, 0, 3, 0, 14, 0])
      ShowTextAttributes(["", 0, 0, 2])
      ShowText(["Do you want to give some \\ii[14]? (Have:\\V[24])"])
      ShowChoices([["Yes", "No"], 2])
      When([0, "はい"])
        ShowTextAttributes(["heavensgate_fc1", 0, 0, 2])
        ShowText(["\\n<Heaven's Gate>This should help... I gratefully accept it."])
        ShowText([""])
        ChangeItems([14, 1, 0, 1])
        Script(["change_friend(20)"])
        ExitEventProcessing([])
        Empty([])

      When([1, "いいえ"])
        ShowTextAttributes(["heavensgate_fc1", 2, 0, 2])
        ShowText(["\\n<Heaven's Gate>Hmm, was I not convincing enough...?"])
        ShowText([""])
        ExitEventProcessing([])
        Empty([])

      ChoicesEnd([])
      Empty([])

    Else([])
      ControlVariables([13, 13, 0, 0, 20])
      Empty([])

    BranchEnd([])
    Empty([])

  BranchEnd([])
  ConditionalBranch([1, 13, 0, 20, 2])
    ConditionalBranch([8, 328])
      ShowTextAttributes(["heavensgate_fc1", 0, 0, 2])
      ShowText(["\\n<Heaven's Gate>I've heard there is apparently a strange fish that resembles a snake. If you have one, could you give it to me...?"])
      ShowText([""])
      ShowText([""])
      ControlVariables([24, 24, 0, 3, 0, 328, 0])
      ShowTextAttributes(["", 0, 0, 2])
      ShowText(["Do you want to give some \\ii[328]? (Have:\\V[24])"])
      ShowChoices([["Yes", "No"], 2])
      When([0, "はい"])
        ShowTextAttributes(["heavensgate_fc1", 2, 0, 2])
        ShowText(["\\n<Heaven's Gate>I see, so this is an eel...\nIt feels slimy, and looks unsettling..."])
        ShowText([""])
        ShowText([""])
        ChangeItems([328, 1, 0, 1])
        Script(["change_friend(30)"])
        ExitEventProcessing([])
        Empty([])

      When([1, "いいえ"])
        ShowTextAttributes(["heavensgate_fc1", 2, 0, 2])
        ShowText(["\\n<Heaven's Gate>Hmm, was I not convincing enough...?"])
        ShowText([""])
        ExitEventProcessing([])
        Empty([])

      ChoicesEnd([])
      Empty([])

    Else([])
      ControlVariables([13, 13, 0, 0, 30])
      Empty([])

    BranchEnd([])
    Empty([])

  BranchEnd([])
  ConditionalBranch([1, 13, 0, 30, 2])
    ConditionalBranch([7, 18600, 0])
      ShowTextAttributes(["heavensgate_fc1", 0, 0, 2])
      ShowText(["\\n<Heaven's Gate>Would you be willing to give me a little money...? I'm certainly not demanding a bribe..."])
      ShowText([""])
      ShowText([""])
      ControlVariables([24, 24, 0, 3, 7, 2, 0])
      ShowTextAttributes(["", 0, 0, 2])
      ShowText(["Do you want to give 18600G? (Remaining:\\V[24])"])
      ShowChoices([["Yes", "No"], 2])
      When([0, "はい"])
        ShowTextAttributes(["heavensgate_fc1", 0, 0, 2])
        ShowText(["\\n<Heaven's Gate>I appreciate it...\nHowever, I unfortunately cannot let you through since this wasn't a bribe."])
        ShowText([""])
        ShowText([""])
        ChangeGold([1, 0, 18600])
        Script(["change_friend(25)"])
        ExitEventProcessing([])
        Empty([])

      When([1, "いいえ"])
        ShowTextAttributes(["heavensgate_fc1", 2, 0, 2])
        ShowText(["\\n<Heaven's Gate>Hmm, was I not convincing enough...?"])
        ShowText([""])
        ExitEventProcessing([])
        Empty([])

      ChoicesEnd([])
      Empty([])

    Else([])
      ShowTextAttributes(["heavensgate_fc1", 2, 0, 2])
      ShowText(["\\n<Heaven's Gate>You don't have enough on hand... That's disappointing."])
      ShowText([""])
      ExitEventProcessing([])
      Empty([])

    BranchEnd([])
    Empty([])

  BranchEnd([])
  Label(["贈与"])
  ControlVariables([13, 13, 0, 2, 1, 30])
  ConditionalBranch([1, 25, 0, 1, 0])
    ControlVariables([13, 13, 0, 0, 30])
    ControlVariables([25, 25, 0, 0, 0])
    Empty([])

  BranchEnd([])
  ConditionalBranch([1, 25, 0, 2, 0])
    ControlVariables([13, 13, 0, 2, 1, 20])
    ControlVariables([25, 25, 0, 0, 0])
    Empty([])

  BranchEnd([])
  ConditionalBranch([1, 13, 0, 10, 2])
    ShowTextAttributes(["heavensgate_fc1", 0, 0, 2])
    ShowText(["\\n<Heaven's Gate>I shall yield this to you.\nUse it wisely..."])
    ShowText([""])
    ShowText([""])
    PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
    ChangeItems([19, 0, 0, 1])
    ShowTextAttributes(["", 0, 0, 2])
    ShowText(["Heaven's Gate gave you a \\ii[19]!"])
    ExitEventProcessing([])
    Empty([])

  BranchEnd([])
  ConditionalBranch([1, 13, 0, 20, 2])
    ShowTextAttributes(["heavensgate_fc1", 0, 0, 2])
    ShowText(["\\n<Heaven's Gate>I shall yield this to you.\nUse it wisely..."])
    ShowText([""])
    ShowText([""])
    PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
    ChangeItems([77, 0, 0, 1])
    ShowTextAttributes(["", 0, 0, 2])
    ShowText(["Heaven's Gate gave you a \\ii[77]!"])
    ExitEventProcessing([])
    Empty([])

  BranchEnd([])
  ConditionalBranch([1, 13, 0, 30, 2])
    ShowTextAttributes(["heavensgate_fc1", 0, 0, 2])
    ShowText(["\\n<Heaven's Gate>I shall yield this to you.\nUse it wisely..."])
    ShowText([""])
    ShowText([""])
    PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
    ChangeGold([0, 0, 31000])
    ShowTextAttributes(["", 0, 0, 2])
    ShowText(["Heaven's Gate gave you 31000G!"])
    ExitEventProcessing([])
    Empty([])

  BranchEnd([])
  Empty([])
